package com.tao.plan.domain.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.tao.plan.common.serializer.LocalDateTimeSerializer;
import com.tao.plan.common.serializer.LongToStringSerializer;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class PCommonPlan {

	@JsonSerialize(using = LongToStringSerializer.class)
	private Long id;
	@JsonSerialize(using = LongToStringSerializer.class)
	private Long uid;
	private String title;
	@JsonSerialize(using = LocalDateTimeSerializer.class)

	private LocalDateTime updateTime;
	private Integer priority; // 优先级
	private Integer status; // 任务完成状态
	private Integer type; // 任务类型, 0-学习任务, 1-工作任务, 2-生活任务
}
